package com.xbenmh.order.controller;

import com.xbenmh.order.SpringAop.Performance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: xben
 * @Date: 2018/12/10 15:50
 */
@Controller
@RequestMapping("aop")
public class AopController {
//    @Autowired
//    private Performance performance;
    @RequestMapping("/test01")
    @ResponseBody
    public String test01(){
//        performance.perform();
        return  "test01";
    }
}
